UpdateAlias
FSSpec * fromFile; points to an FSSpec record specifying the starting point for a relative path
Boolean *wasChanged ; TRUE = a change has taken place fromFile represents the starting point for a relative path, to be used later in
a relative search. If you do not need relative path information in the
record, pass a fromFile value of NIL. If you want UpdateAlias to record relative path information, pass a pointer to a valid FSSpec record in this parameter. The two files or directories, fromFile and
target, must reside on the same volume.
the same as the old one, UpdateAlias sets the wasChanged parameter to FALSE. Otherwise, it sets it to TRUE. Check this parameter to
determine whether you need to save an updated record.
noErr (0) No error
paramErr (-50) Target, alias, or both are NIL, or the AliasRecord is corrupt
that it describes the target specified by the target parameter. UpdateAlias would.
a complete record.